/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pe.edu.ulima.programacion.modulo2;

import javax.swing.JOptionPane;

/**
 *
 * @author profw51
 */
public class IF04 {

    boolean bool;

    public static void main(String[] args) {
        boolean bool = true;

        if (bool & false) {
            // true & false -> false
            JOptionPane.showMessageDialog(null, "a");
        } else if (bool = false) {
            // asignando false a bool -> false
            // bool vale false por la asignacion
            JOptionPane.showMessageDialog(null, "b");
        } else if (bool == false) {
            // false==false -> true
            JOptionPane.showMessageDialog(null, "c");
        } else {
            JOptionPane.showMessageDialog(null, "d");
        }
    }
}
